package com.lintf.distributed.transaction;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @ author lintf
 * @ system Mac
 * @ data 2025/6/26
 * @ package_name com.lintf.distributed.transaction
 * @ project_name distributed-transaction-demo
 * @ desc
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class OrderInventoryFailedEvent implements Serializable {
    private Long orderId;
    private Long productId;
    private String reason; // 失败原因
}
